import { App } from 'vue'
import chooseArea from './chooseArea'
import chooseIcon from './chooseIcon'
import chooseStreet from './chooseStreet'
import chooseStreetCascad from "./chooseStreetCascad";
import trend from './trend';
import notification from './notification';
import list from './list'
import menu from './menu'
import progress from './progress'
import chooseTime from './chooseTime'
import chooseDate from './chooseDate'
import chooseCity from './chooseCity'
import form from './form'
import modalForm from "./modalForm";
import table from './table'
import calendar from './calendar'
import './styles/ui.scss'
import './styles/base.scss'


const components = [
    chooseArea,
    chooseIcon,
    chooseStreet,
    chooseStreetCascad,
    trend,
    notification,
    list,
    menu,
    progress,
    chooseTime,
    chooseDate,
    chooseCity,
    form,
    modalForm,
    table,
    calendar
]

export default {
    install(app: App) {
        components.map(item => {
            app.use(item)
        })
    }
}
